﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models;

[ProtoContract]
public class GrpcReturn<T>
{
    [ProtoMember(1)]
    public T Data { get; set; }
    [ProtoMember(2)]
    public bool IsSuccess { get; set; }
    [ProtoMember(3)]
    public string Msg { get; set; }
    [ProtoMember(4)]
    public int Code { get; set; }
}